package com.valuegroup.smarttodo.data.vo;

import java.io.Serializable;
import java.util.Date;

public class CalendarQueryParams implements Serializable {

    // 查询范围
    private Date findDay;
    private int filterType;
    private String searchKey;

    // 排序

    public static CalendarQueryParams getDefaultParams() {
        CalendarQueryParams p = new CalendarQueryParams();
        p.setFilterType(0); // 全部
        p.setFindDay(new Date());
        p.setSearchKey(null);
        return p;
    }

    public Date getFindDay() {
        return findDay;
    }

    public void setFindDay(Date findDay) {
        this.findDay = findDay;
    }

    public int getFilterType() {
        return filterType;
    }

    public void setFilterType(int filterType) {
        this.filterType = filterType;
    }

    public String getSearchKey() {
        return searchKey;
    }

    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }
}
